<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/7/18
 * Time: 8:31
 */

namespace app\index\controller;

use think\Controller;
use think\Url;

class Temple extends Controller
{
    public function index()
    {
        $this->assign('title','home');
        return view('index');
    }

    public function about()
    {
        $this->assign('title','about');
        return view('about');
    }

    public function codes()
    {
        $this->assign('title','codes');
        return view('codes');
    }

    public function contact()
    {
        $this->assign('title','contact');
        return view('contact');
    }

    public function products()
    {
        $this->assign('title','product');
        return view('products');
    }

    public function icon()
    {
        $this->assign('title','icon');
        return view('icon');
    }
}
